package com.yuanfeng.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yuanfeng.commoms.vo.shop.ApplyCatVO;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 店铺经营类目-更新绑定类目时备份-孟响-19/04/16

 * @TableName shop_class_bind_tmp
 */
@TableName(value ="shop_class_bind_tmp")
@Data
public class ShopClassBindTmpEntity implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer shopClassBindId;

    /**
     * 店铺id
     */
    private Integer shopId;

    /**
     * 三级分类id
     */
    private Integer catId;

    /**
     * 批次id
     */
    private String batchId;

    /**
     * 状态 1审核中  2 审核通过 3 审核失败
     */
    private Integer start;

    /**
     * 分类名称 
     */
    private String catName;

    /**
     * 创建时间
     */
    private Date creatTime;

    /**
     * 原因
     */
    private String reason;

    @TableField(exist = false)
    List<ApplyCatVO> catEntities;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}